package com.xyw.his00.controller;

import com.xyw.his00.mapper.DiseaseMapper;
import jakarta.annotation.Resource;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/disease/")
public class DiseaseController {
    @Resource
    private DiseaseMapper diseaseMapper;

    @Transactional
    @RequestMapping("insert")
    public void insertDisease(){

    }
    @Transactional
    //根据病历id查询疾病信息
    @RequestMapping("/selectMedicalRecord")
    public void selectMedicalRecord(){
        System.out.println("搜索疾病");

    }
}
